<div class="projectcenter">
	<div class="header">
		<span class="logo">pipeline</span>
	  <div class="account">
	  	<div class="dropdown-toggle" data-toggle="dropdown">
	  		<span title="{{vm.currentUser}}" ng-bind="vm.currentUser"></span>
	  		<i class="caret"></i>
	  	</div>
	  	<ul class="dropdown-menu">
	  		<li><a href="javascript:void(0)" ng-click="vm.logout()">退出</a></li>
	      <li><a href="javascript:void(0)">帮助</a></li>
	  	</ul>
	  </div>
	</div>
	<div class="link-path">所有项目</div>
	<div class="container">
		<div class="row">
			<div class="col-lg-3 col-sm-6" ng-repeat="project in vm.projectData">
				<div class="panel panel-default">
				    <div class="panel-body">
				    	<div class="project-tool"><a ng-click="vm.edit(project)">编辑</a><a confirm data-msg="{{vm.msg}}" data-id="{{project.project_id}}">删除</a><a ng-click="vm.edit(project)">查看</a></div>
					    <div class="project-name"  ng-click="vm.view(project.project_id)">
					    	{{project.project_name}}
					    </div>
					    <div class="project-detail">
					    	<div class="navTitle marquee">
							  <div class="get-marquee-width">
							    <div class="marquee-move">
							    	<span><b style="font-size:13px;font-weight:normal;margin-right:20px;">流水线总数:{{project.pipe_total}} </b><b style="font-size:13px;font-weight:normal;margin-right:20px;">在运行数:{{project.pipe_build}} </b><b style="font-size:13px;font-weight:normal;margin-right:20px;">成功率:{{project.success_rate}}%</b><b style="font-size:13px;font-weight:normal;margin-right:20px;">{{project.description}}</b></span>
							    </div>
							  </div>
							</div>
					    </div>
				    </div>
				</div>
			</div>
			<div class="col-lg-3 col-sm-6">
				<div class="panel-dashed" ng-click="vm.create()">
				    +
				</div>
			</div>
		</div>
	</div>
</div>